﻿@{
    ViewBag.Title = "用户列表";
    ViewBag.PathToBtn = "/Consumer/List";
    ViewBag.TextBtn = "刷新";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                用户列表
            </div>
            <div class="panel-body">
                <div class="dataTable_wrapper">
                    <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                        <thead>
                            <tr>
                                <th>客户编号</th>
                                <th>昵称</th>
                                <th>电子水票数量</th>
                                <th>性别</th>
                                <th>注册时间</th>
                                <th>绑定店员</th>
                            </tr>
                        </thead>
                        <tbody>                           
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
@section javascript{
    <script src="/Content/admin/dist/js/pagingHelper.js"> </script>
    <script type="text/javascript">
        var dataParams = {};
        var serverProcessPath = "/Consumer/Listing";
        var showColumns = [
            { data: "Id" },
            { data: "NickName" },
            { data: "CouponCount" },
            { data: "Sex" },
            { data: "RegTime" },
            { data: "ShopAccountDisplayName" }
        ];
        pagingHelper.Paging(serverProcessPath, dataParams, showColumns, null, false);
    </script>
}